package http;

import bean.BaseResponse;
import bean.GoodsPriceMode;
import bean.ManagerMode;
import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface ApiUrl {
    @POST("/machine/getGoodsPrice")
    Observable<BaseResponse<GoodsPriceMode>>  GoodsPrice(@Header("token") String token, @Query("sid") String sid);
    @POST("/machine/getManagerPhone")
    Observable<BaseResponse<ManagerMode>>  getManagerPhone(@Header("token") String token, @Query("sid") String sid);

    @POST("/machine/getManagerPhone")
    Observable<String>  getManagerPhone1(@Header("token") String token, @Query("sid") String sid);


}
